execute in queue

This block is part of the function execution group and was last modified in core v10.4.28.

Function Selection Required

This block requires you to choose a custom function to execute when triggered. You must manually select the function you want to use using the function selector modal. To access the modal, click the white button on the block.

execute in queue v10.4.28

Executes the given function on a given time using the queue and doesn't wait for it to be executed.

In pins 3 + flow
  • flow
    flow
  • unique ID
    value

    A unique ID will make sure it doesn't make a new one if a queue item already exists with this ID.

  • Execute at
    date

    The time this function should run (rounded to the nearest 10 sec).

    Default now

  • Debounce
    condition

    This allows for a debounce (remove old, create new one) effect on this function, requires a unique id to work.

    Default false

Out pins 1 + flow
  • flow
    flow
  • queue
    object

    The queue document

custom function from queue

A typical wiring for execute in queue: reply in JSON feeds the flow pin; create document feeds the unique_id pin; update document feeds the debounce pin; the flow out pin feeds debug.

Studio canvas example for the execute in queue block: typical wiring for execute in queue.

Commonly used with

In production blueprints, this block is most often wired together with:

  • get fields: feeds into this block. Gets the selected fields from the given object.
  • reply in JSON: feeds into this block. Reply to any httpconnection as JSON body.
  • branch: feeds into this block.
  • create document: feeds into this block. Creates a document in the given storage.
  • update document: feeds into this block. Update document in the given storage and creates a revision for it.
  • create: feeds into this block. Creates a new function that can be executed using the given name.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.


Back to function execution Return to the main group to view all sub-groups Back to function Return to the group to view all blocks within this group